#pragma once

#ifdef GK_DEVICE_DIRECTX9

namespace gk
{
	struct BufferInternal
	{
		union
		{
			LPDIRECT3DINDEXBUFFER9		m_pIndexBuffer;
			LPDIRECT3DVERTEXBUFFER9		m_pVertexBuffer;
			cr::uint8_t*				m_pGenericBuffer;
		};
		void*							m_pWriteAddress;
	};
}

#endif // GK_DEVICE_DIRECTX9